﻿using AngleSharp.Dom;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace SharpSoft.Documentation.Html.CSS
{ 
    /// <summary>
    /// CSS选择器规则接口
    /// </summary>
    public interface IRule
    {
        /// <summary>
        /// 获取或设置当前规则与下一个规则的关系，对于选择器中的最后一个规则，此设置无效
        /// </summary>
        CssSelectorRuleRelationType RelationType
        {
            get;
            set;
        }

        //NodeFilter ToNodeFilter();

    }
    
}
